﻿using System.Web.Mvc;
using HelloWorld.Models;

namespace HelloWorld.Controllers
{
    public class UsersController : Controller
    {
        public ActionResult Index(UsersList model, int page = 1, string sort = "", string direction = "")
        {
            model.SetParameters(page, sort, direction, Request.Params);
            return View(model);
        }
    }
}
